<!--
  Generated template for the FrontPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

</ion-header>


<ion-content>

    <div class="content" style="background-image: url('./assets/imgs/1.jpg');">
        <img class="logo" src="assets/imgs/log.png" alt="">
        <ion-searchbar [(ngModel)]="myInput">
        </ion-searchbar>
        <!-- <button ion-button round color="danger">G O</button> -->
        <div style="margin-top: 3rem;width: 7rem;height: 7rem;border-radius: 4rem;display: flex;justify-content: center;align-items: center;">
            <img class="go" src="assets/imgs/zhihe.svg" (click)="search()">
        </div>
        <div style="width: 90%;position: absolute;bottom: 8rem;">
            <h1 style="color: white;">愿，<br/>与陌生人<br/>同行</h1>
        </div>
        <div class="bottom">
            <button class="register" (click)="register()">注册</button>
            <button class="login" (click)="login()">登录</button>
        </div>
    </div>
</ion-content>